# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=sc-im
pkgver=0.8.3
pkgrel=0
pkgdesc="ncurses spreadsheet program based on SC"
url="https://github.com/andmarti1424/sc-im"
arch="all"
license="BSD-4-Clause"
makedepends="bison ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/andmarti1424/sc-im/archive/v$pkgver.tar.gz"
options="!check" # TODO: run proper tests, perhaps upstream PR 385

build() {
	make -C src prefix=/usr
}

package() {
	make -C src install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="
a3d7cf99c7c959d24ebf7e525abb665c02690674c9b3cdf5b234dcdb376fd73e9488bda522106802932084bbfd239928e39b35743c7051178aa14edf61ec2cb8  sc-im-0.8.3.tar.gz
"
